<template>
  <div>
    <el-table :data="userData" class="tc-table" size="small" ref="multipleTable">
      <template v-for="(column, index) in PUSER_LIST_THEAD">
        <el-table-column :prop="column.prop" :label="column.label" :formatter="column.formatter" :key="index" :show-overflow-tooltip="true">
        </el-table-column>
      </template>
    </el-table>
  </div>
</template>

<script>
import { PUSER_LIST_THEAD } from '../js/contant.js'
export default {
  props: { userData: Array },
  data () {
    return {
      PUSER_LIST_THEAD
    }
  }
}
</script>
